package com.framework.service.core.service.impl;

import com.framework.service.core.dao.mapper.old.UserMapper;
import com.framework.service.core.dao.model.old.User;
import com.framework.service.core.service.IUserInfoService;
import com.framework.service.core.dao.mapper.old.UserMapper;
import com.framework.service.core.dao.model.old.User;
import com.framework.service.core.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhoubb
 * @version V1.0
 * @Date 2020/5/3 21:42
 * @since JDK 1.8
 */
@Service
public class UserInfoServiceImpl implements IUserInfoService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User getOldUser() {
        return userMapper.selectById(1);
    }
}
